package formServlets;

import java.io.Serializable;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

public class UserAcademicInfo implements Serializable {
	  @PrimaryKey
	    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	    private Key key;

	   
	    @Persistent
	    private String Userid;       //unique userid or username that is used for signing in

	    @Persistent
	    private String degreeType;    
	    
	    @Persistent
	    private String schoolId;
	    
	    @Persistent
	    private String Major;
	    
	    @Persistent
	    private String startDate;      
	    
	    @Persistent
	    private String endDate;

	  //  @Persistent
	   // private String entranceExamType;   // SAT, GRE, GMAT, etc
	    
	    @Persistent
	    private int examScore;  
	    
	    @Persistent
	    private String funded;       // Scholarship, Stipend, Self Funded, etc
	    
	    @Persistent
	    private int GPA;
	   
	    @Persistent
	    private boolean employed;
	    
	    @Persistent
	    private String major;
	    
	 
	    
	    public UserAcademicInfo( String Userid,String degree, String schoolid,String major,String startDate, String endDate, String entranceExamType, int examScore, String funded, int GPA)
	    {
	     this.Userid=Userid;
	     this.degreeType=degree;
	     this.schoolId=schoolid;
	     this.Major=major;
	     this.startDate=startDate;
	     this.endDate=endDate;
	  //   this.entranceExamType=entranceExamType;
	     this.examScore=examScore;
	     this.funded=funded;
	     this.GPA=GPA;
	    }

	    public Key getKey() {
	        return key;
	    }

	    public String getUserid() {
	        return Userid;
	    }

	    public String getdegreeType() {
	        return this.degreeType;
	    }

	    public String getSchoolId() {
	        return this.schoolId;
	    }

	    public String getMajor() {
	        return Major;
	    }

	    public String getEndDate() {
	        return endDate;
	    }
	    
	 //   public String getEntranceExamType()
	   // {
	   // 	return this.entranceExamType;
	    //}
	   
	    public int getScore() {
	        return this.examScore;
	    }
	    
	    public String getFundType() {
	        return this.funded;
	    }
	    
	    public int getGPA() {
	        return this.GPA;
	    }
	   
	    public void setdegreeType(String Degree) {
	        this.degreeType=Degree;
	    }

	    public void setSchoolId(String schoolId) {
	        this.schoolId=schoolId;
	    }

	    public void setMajor(String Major) {
	       this.Major=Major;
	    }

	    public void setEndDate(String endDate) {
	        this.endDate=endDate;
	    }
	    
	    public void setEntranceExamType(String examType)
	    {
	   // 	this.entranceExamType=examType;
	    }
	   
	    public void setScore(int examScore) {
	        this.examScore=examScore;
	    }
	    
	    public void setFundType(String fund) {
	        this.funded=fund;
	    }
	    
	    public void setGPA(int gpa) {
	        this.GPA=gpa;
	    }
}

